package net.csdn.business.common.domain.request;

import lombok.Data;
import net.csdn.business.common.domain.validation.groups.System;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author zhangyal
 * @date 2023/03/17 15:11
 */
@Data
public class InvitationRevorkDTO implements Serializable {
    /**
     * 登录用户UID
     */
    @NotBlank(message = "uid 不能为空", groups = {System.class})
    private String uid;

    @NotBlank(message = "code 不能为空")
    private String code;

    @NotNull(message = "targetTypeEnum 不能为空")
    private Integer targetType;
}